package ishaportalunittests.helpers;

import gwtappcontainer.shared.apis.admin.RoleProp;

import java.util.List;

public class Util {
	public static boolean isRolePresent(List<RoleProp> roles, String role) {    	
    	for (RoleProp roleProp : roles) {
			if (roleProp.name.equals(role))
				return true;
		}
    	
    	return false;
    }
}
